package videojuegoalpha;
import java.awt.image.BufferedImage;
public class Score {
    int score, multiplier;
    BufferedImage spritesScore, spriteMultiplier;
    Character character = null;
    
    // Métodos propios
        
    public int addMultiplier(){
        if(character.getAvoidedObstacle())
            return ++multiplier;
        return multiplier;
    }
    
    // Getters y setter
    
    public int getMultiplier() {
        return multiplier;
    }

    public void setMultiplier(int multiplier) {
        this.multiplier = multiplier;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public BufferedImage getSpritesScore() {
        return spritesScore;
    }

    public void setSpritesScore(BufferedImage spritesScore) {
        this.spritesScore = spritesScore;
    }
}
